#ifndef DIALOGIMPORTCSV_H
#define DIALOGIMPORTCSV_H

#include <QDialog>

namespace Ui {
    class DialogImportCsv;
}

class DialogImportCsv : public QDialog
{
    Q_OBJECT

public:

    static const int PREVIEW_LINES = 100;

    explicit DialogImportCsv(QWidget *parent = 0);

    ~DialogImportCsv();

    // Getters ================================================================>

    QString getFileName() const;

    int getStartingLine() const;

    QChar getSeparatorChar() const;

    QChar getQuoteChar() const;

    bool isFirstColumnNames() const;


private slots:

    // Event Handlers =========================================================>

    void on_buttonBrowse_clicked();

    void on_buttonBox_accepted();

    void on_buttonBox_rejected();


private:

    Ui::DialogImportCsv *ui;
    QString filename;

};

#endif // DIALOGIMPORTCSV_H
